img { border-radius: 12px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12); } figure > img { width: 100%; height: auto; }